home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 5
/
Amiga Tools 5.iso
/
tools
/
developer-tools
/
guis
/
gadutil
/
docs
/
autodocs
/
45.gu_nodeup
< prev
next >
Wrap
Text File
|
1996-07-16
|
753b
|
30 lines
gadutil.library/GU_NodeUp gadutil.library/GU_NodeUp
NAME
GU_NodeUp -- Move a node one step towards the top of the list
SYNOPSIS
success = GU_NodeUp(node, list)
D0,SR(Z) A0 A1
BOOL GU_NodeUp(struct Node *, struct List *);
FUNCTION
Move a node one step up. You can also use the function GU_NodeDown()
for moving downwards.
INPUTS
node - The node to move.
list - The list that the node is a part of.
RESULT
success - TRUE if the node could be moved, else FALSE
SR(Z) - 0 if the node could be moved, else 1.
BUGS
none known
SEE ALSO
GU_AddTail(), GU_ClearList(), GU_DetachList(), GU_AttachList(),
GU_FindNode(), GU_NodeDown(), GU_CountNodes(), GU_NewList(), GU_SortList()